if __name__ == '__main__':
    for i in range(5):
        print(i)
    print('----------')

    for i in range(1, 10):
        print(i)
    print('----------')
    for i in range(1, 10, 2):
        print(i)
    print('----------')

    print(list(range(1, 10)))
    print('----------')
    for i in range(-1, -10, -1):
        print(i)
    print(list(range(1, 10, -1)))
